import Vue from 'vue'
import Vuex from 'vuex'
import {state,mutations,getters} from  './mutations'
import { actions} from  './actions'
import home from  './modules/home.js'
import cate from  './modules/cate.js'
import specs from  './modules/specs.js'
import goods from  './modules/goods.js'
import vip from  './modules/vip.js'
import banner from  './modules/banner.js'
Vue.use(Vuex)

export default new Vuex.Store({
  state,
  mutations,
  actions,
  getters,
  modules: {
      home,
      cate,
      specs,
      goods,
      vip,
      banner
  }
})
